package com.aistar.mapper;

import com.aistar.pojo.ContestMessage;
import com.aistar.pojo.ContestMessageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ContestMessageMapper {
    int countByExample(ContestMessageExample example);

    int deleteByExample(ContestMessageExample example);

    int deleteByPrimaryKey(Integer contestMsgId);

    int insert(ContestMessage record);

    int insertSelective(ContestMessage record);

    List<ContestMessage> selectByExample(ContestMessageExample example);

    ContestMessage selectByPrimaryKey(Integer contestMsgId);

    int updateByExampleSelective(@Param("record") ContestMessage record, @Param("example") ContestMessageExample example);

    int updateByExample(@Param("record") ContestMessage record, @Param("example") ContestMessageExample example);

    int updateByPrimaryKeySelective(ContestMessage record);

    int updateByPrimaryKey(ContestMessage record);
}